package com.hpe.pojo;

/**
 * Created by 李宇寒
 * 2017/9/22 0022 上午 12:08.
 */
public class Jobentity {
    private int jobid;
    private String jobname;
    private Integer enterid;
    private Integer jobcount;

    public int getJobid() {
        return jobid;
    }

    public void setJobid(int jobid) {
        this.jobid = jobid;
    }

    public String getJobname() {
        return jobname;
    }

    public void setJobname(String jobname) {
        this.jobname = jobname;
    }

    public Integer getEnterid() {
        return enterid;
    }

    public void setEnterid(Integer enterid) {
        this.enterid = enterid;
    }

    public Integer getJobcount() {
        return jobcount;
    }

    public void setJobcount(Integer jobcount) {
        this.jobcount = jobcount;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        Jobentity jobentity = (Jobentity) o;

        if (jobid != jobentity.jobid) return false;
        if (jobname != null ? !jobname.equals(jobentity.jobname) : jobentity.jobname != null) return false;
        if (enterid != null ? !enterid.equals(jobentity.enterid) : jobentity.enterid != null) return false;
        if (jobcount != null ? !jobcount.equals(jobentity.jobcount) : jobentity.jobcount != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = jobid;
        result = 31 * result + (jobname != null ? jobname.hashCode() : 0);
        result = 31 * result + (enterid != null ? enterid.hashCode() : 0);
        result = 31 * result + (jobcount != null ? jobcount.hashCode() : 0);
        return result;
    }
}
